package com.zhengtoudai.ui.bean;

/**
 * 只返回code与message结果的实体类
 */

public class Result<T> {
    private int  code;
    private String message;
    private T result;
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
